﻿
<%@ Page Language="C#" Theme="Default" MasterPageFile="~/MasterPages/admin.master" AutoEventWireup="true"  CodeFile="LaserAppMaps.aspx.cs" Inherits="LaserAppMaps" Title="LaserAppMaps List" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">Laser App Maps List</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
		<data:GridViewSearchPanel ID="GridViewSearchPanel1" runat="server" GridViewControlID="GridView1" PersistenceMethod="Session" />
		<br />
		<data:EntityGridView ID="GridView1" runat="server"			
				AutoGenerateColumns="False"					
				OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
				DataSourceID="LaserAppMapsDataSource"
				DataKeyNames="FormId,MajorVer,MinorVer"
				AllowMultiColumnSorting="False"
				DefaultSortColumnName="[FormID]" 
				DefaultSortDirection="Ascending"	
				ExcelExportFileName="Export_LaserAppMaps.xls" AllowExportToExcel="True" AllowSorting="True" ExportToExcelText="Excel" PageSelectorPageSizeInterval="10" RecordsCount="0" ShowGridOnEmptyData="False"  		
			>
			<Columns>
				<asp:CommandField ShowDeleteButton="True" />				
				<asp:BoundField DataField="FormId" HeaderText="Form Id" SortExpression="[FormID]" ReadOnly=True />
				<asp:BoundField DataField="FormName" HeaderText="Form Name" SortExpression="[FormName]"  />
				<asp:BoundField DataField="MajorVer" HeaderText="Major Ver" SortExpression="[MajorVer]" ReadOnly=True />
				<asp:BoundField DataField="MinorVer" HeaderText="Minor Ver" SortExpression="[MinorVer]" ReadOnly=True />
				
			</Columns>
			<EmptyDataTemplate>
				<b>No LaserAppMaps Found!</b>
			</EmptyDataTemplate>
		</data:EntityGridView>
		<br />
		<asp:Button runat="server" ID="btnLaserAppMaps" OnClientClick="javascript:location.href='LaserAppMapsEdit.aspx'; return false;" Text="Add New"></asp:Button>
		<data:LaserAppMapsDataSource ID="LaserAppMapsDataSource" runat="server"
			SelectMethod="GetPaged"
			EnablePaging="True"
			EnableSorting="True"
		>
			<Parameters>
				<data:CustomParameter Name="WhereClause" Value="" ConvertEmptyStringToNull="false" />
				<data:CustomParameter Name="OrderByClause" Value="" ConvertEmptyStringToNull="false" />
				<asp:ControlParameter Name="PageIndex" ControlID="GridView1" PropertyName="PageIndex" Type="Int32" />
				<asp:ControlParameter Name="PageSize" ControlID="GridView1" PropertyName="PageSize" Type="Int32" />
				<data:CustomParameter Name="RecordCount" Value="0" Type="Int32" />
			</Parameters>
		</data:LaserAppMapsDataSource>
	    		
</asp:Content>



